package com.dfbz.bigdata.modules.system.shop.order.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dfbz.bigdata.modules.system.shop.order.doman.UandubOrders;
import com.dfbz.bigdata.modules.system.shop.order.dto.MiniUandubOrdersDto;
import com.dfbz.bigdata.modules.system.shop.order.dto.UandubOrdersDto;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* @author CL
* @description 针对表【tb_uandub_orders(订单表)】的数据库操作Mapper 用户和用户或品牌商的订单
* @createDate 2022-09-23 16:24:44
* @Entity generator.doman.UandubOrders
*/
@Repository
public interface UandubOrdersMapperMini extends BaseMapper<UandubOrders> {


    List<UandubOrdersDto> getUandubOrderList(@Param("uubOdNum") String uubOdNum, @Param("begin")int begin, @Param("pagesizes") int pagesizes);

    public Integer getTotal();

    List<MiniUandubOrdersDto> getMiniOrderList(@Param("userId") Long userId,@Param("expressStatus") Long expressStatus);

}




